/**
 * @fileName XXXX.java
 * @auther tangkang
 * @version 1.0
 * @date   2017-07-06 16:00:11
 */

 
package com.dao;

/**
 * @author tangkang
 * @TODO
 */


import java.util.List;
import java.util.Map;

import com.mod.LoanConsultCertificateDo;

public interface ILoanConsultCertificateDao {

	/**
	 * 根据ID 查询
	 * @parameter id
	 */
	public LoanConsultCertificateDo getById(Long id);
	
	/**
	 *根据条件查询列表
	 */
	public List<LoanConsultCertificateDo> selectLoanConsultCertificate(Map<String,Object> parameterMap);
	
	/**
	 *根据条件查询列表(加Page)
	 */
	public List<LoanConsultCertificateDo> selectLoanConsultCertificatePage(Map<String,Object> parameterMap);
	
	/**
	 * 更新
	 */
	public int  updateLoanConsultCertificateById(LoanConsultCertificateDo newLoanConsultCertificateDo);
	
	/**
	 * 新增
	 */
	public int addLoanConsultCertificate(LoanConsultCertificateDo newLoanConsultCertificateDo);
	
	/**
	 * 删除
	 */
	public int deleteById(Long id);

	

}
